package cn.com.bod.fas.common.model.vo;

import lombok.Data;

import java.util.HashMap;
import java.util.Map;

/**
 * @description http请求日志对象
 * @author chenyuanxian
 * @date 2019年9月16日 下午3:42:17
 * @version 1.0.0
 * @Copyright (c) scfhdt
 */

@Data
public class WebLogVo {
    /**
     * 请求信息.
     */
    private HashMap<String, Object> requestInfo;

    private String webLogId;

    private String requestUrl;

    private String requestUri;

    private String requestMethod;

    private String queryString;

    private Object parameters;

    private String remoteAddr;

    private String remoteHost;

    private int remotePort;

    private String localAddr;

    private String localName;

    private String classMethod;

    private String args;

    private String responseParam;

    private Map<String, String> headers;
    
    /**
     * 请求开始时间.
     */
    private long startTime;
    
    /**
     * 请求结束时间.
     */
    private long endTime;
    
    /**
     * 请求执行时间.
     */
    private long executionTime;    
}
